package com.rain.persistence.orders.domain;

import com.baomidou.mybatisplus.annotation.TableName;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableField;
import com.rain.base.BaseDO;
import io.swagger.annotations.ApiModel;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author wu
 * @since 2021-04-04
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("orders")
@ApiModel(value="OrdersDO对象", description="")
public class OrdersDO extends BaseDO {

    private static final long serialVersionUID=1L;

    @TableField("product_id")
    private Integer productId;

    @TableField("amount")
    private Double amount;

    @TableField("sum")
    private Integer sum;

    @TableField("create_time")
    private LocalDateTime createTime;

    @TableField("replace_time")
    private LocalDateTime replaceTime;

    @TableField("account_id")
    private Integer accountId;


}
